cc.Class({
    extends: cc.Component,
    properties: {
        MapGridSize:{
            default:10,
            displayName: "网格地图最大大小",
        },

        MapSize:{
            default:5,
            displayName: "初始地图大小"
        },

        HPMax:{
            default:20,
            displayName: "最大生命值"
        },

        ShootSpeed:{
            default:3,
            displayName:"发射速度"
        },

        TurnSpeed:{
            default:36,
            displayName:"地图旋转速度"
        },

        BoundaryX:{
            default:1822,
            displayName:"场景左右边界"
        },

        BoundaryY:{
            default:1808,
            displayName:"场景上下边界"
        },

        BoundaryWide:{
            default:80,
            displayName:"场景边界宽度"
        },

        CellSize:{
            default:32,
            displayName:"细胞直径"
        },

        CellInterval:{
            default:4,
            displayName:"细胞间隔"
        },

        seed:{            
            default: 5,
            displayName:"地图随机种子"
        },

        CellPrefab:{  
            default:null,
            type:cc.Prefab,
            displayName: "细胞预制体"
        },

        BacteriaPrefab:{
            default:null,
            type:cc.Prefab,
            displayName: "发射物预制体"
        },

        Color:{
            default:[],
            type:[cc.Color],
            displayName: "细胞颜色"
        }
    },
    onLoad () {
        //this.seed = new Date(milliseconds);
        console.log("Seed is " + this.seed);
    }
});
